<?php
  require_once('redirect.php');
  $state = $_GET['state'];
  switch ($state) {
      case 'select':
        echo "<script>window.location.href='http://1.llllc.applinzi.com/b520/html/shopping%202.html?openid=".$object->openid."'</script>";
        break;
      case 'info':
        echo "<script>window.location.href='http://1.llllc.applinzi.com/b520/html/create_dress.html?openid=".$object->openid."'</script>";
        break;
      case 'together':
        echo "<script>window.location.href='http://1.llllc.applinzi.com/b520/html/buyTogether.html?openid=".$object->openid."'</script>";
        break;
      case 'my':
        echo "<script>window.location.href='http://1.llllc.applinzi.com/b520/html/orderForm.html?openid=".$object->openid."'</script>";
        break;
      case 'share':
        echo "<script>window.location.href='http://1.llllc.applinzi.com/b520/html/myPlwasure.html?openid=".$object->openid."'</script>";
        break;
      case 'join':
        echo "<script>window.location.href='http://2.b520.applinzi.com/join.html?openid=".$object->openid."'</script>";
        break;
      case 'change':
        echo "<script>window.location.href='http://1.llllc.applinzi.com/b520/html/register_merchant.html?openid=".$object->openid."'</script>";
        break;
      case 'suggest':
        echo "<script>window.location.href='http://1.llllc.applinzi.com/b520/html/suggest.html?openid=".$object->openid."'</script>";
        break;
      case 'services':
        echo "<script>window.location.href='http://2.b520.applinzi.com/services.html?openid=".$object->openid."'</script>";
        break;
      case 'know':
        echo "<script>window.location.href='http://1.llllc.applinzi.com/b520/html/aboutUs.html?openid=".$object->openid."'</script>";
        break;
      default:
    }
?>
